package com.gree.service.imp;

import org.springframework.stereotype.Service;
import com.gree.dao.TrsT001FiDocumentHeaderDao;
import com.gree.entity.TrsT001FiDocumentHeader;
import com.gree.service.ITrsT001FiDocumentHeaderService;
import org.springframework.beans.factory.annotation.Autowired;

@Service("headerService")
public class TrsT001FiDocumentHeaderServiceImpl implements	ITrsT001FiDocumentHeaderService {

	@Autowired
	private TrsT001FiDocumentHeaderDao trsT001FiDocumentHeaderDao;

	public TrsT001FiDocumentHeaderDao getTrsT001FiDocumentHeaderDao() {
		return this.trsT001FiDocumentHeaderDao;
	}

	public void setTrsT001FiDocumentHeaderDao(
			TrsT001FiDocumentHeaderDao trsT001FiDocumentHeaderDao) {
		this.trsT001FiDocumentHeaderDao = trsT001FiDocumentHeaderDao;
	}

	/** 更新凭证编号 */
	@Override
	public Integer updateDocumentHeaderById(TrsT001FiDocumentHeader enti) {
		return trsT001FiDocumentHeaderDao.updateDocumentHeaderById(enti);

	}

}